package cn.sdormitory.canteen.service;

import cn.sdormitory.canteen.vo.*;
import cn.sdormitory.common.api.CommonPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface FoodOrderService {
    String saveFoodOrderInfo(FoodOrderVO vo);

    List<FoodOrderVO> getOrderList(FoodOrderVO vo);

    List<FoodOrderGoodsVO> getOrderGoodsList(String orderNo);

    List<FoodGoodsCheckVO> getGoodsCheckListByOrderNo(String orderNo);

    int saveGoodsCheckInfo(FoodGoodsCheckVO vo);

    List<FoodGoodsCheckVO> getOrderGoodsCheckList(String orderNo);

    int confirmOrderReceiv(FoodOrderVO vo);

    CommonPage<FoodOrderVO> getPage(FoodOrderVO vo);

    CanteenDashBoradVO getOrderGoodsTop10();

    Map<String,Object> getWeekCheckPass();

    Map<String,Object> getSpplierCheckPass(Integer limit);

}
